package com.example.springboot4.system.constant;

/**
 * 字段常量_代替魔法值
 *
 * @author 15625
 * @since 2021-02-22 09:32
 */
@SuppressWarnings(value = "unused")
public class FieldConstants {

    /**
     * 令牌
     */
    public static final String TOKEN = "token";

    /**
     * 资源映射路径 前缀
     */
    public static final String RESOURCE_PREFIX = "/profile";

    /**
     * UTF-8 字符集
     */
    public static final String UTF8 = "UTF-8";

    /**
     * GBK 字符集
     */
    public static final String GBK = "GBK";

    public static final String DATE_FORMAT = "yyyy-MM-dd";

    public static final String DATE_TIME_FORMAT = "yyyy-MM-dd HH:mm:ss";

    public static final String CREATE_TIME = "createTime";

    public static final String CREATE_USER = "createUser";

    public static final String UPDATE_TIME = "updateTime";

    public static final String UPDATE_USER = "updateUser";

    public static final String DEPT_ID = "deptId";

    public static final String ORG_ID = "orgId";

    /**
     * 管理员角色权限标识
     */
    public static final String SUPER_ADMIN = "admin";

    /**
     * 登录类型 web
     */
    public static final String LOGIN_WEB = "web";

    /**
     * 登录类型 app
     */
    public static final String LOGIN_APP = "app";

}
